﻿using System;
using System.Collections.Generic;
using System.Text;

namespace XmlTest
{
    public class X3DChildren:X3DObject,IObjectChildren
    {
        private List<Object> Children;

        public X3DChildren()
        {
            this.children = new List<object>();
        }

        public List<Object> children
        {
            get { return Children; }
            set { Children = value; }
        }
        #region IObjectChildren 成员

        public void addChildren(object o)
        {
            this.children.Add(o);
        }

        public void removeChildren(object o)
        {
            this.children.Remove(o);
        }

        #endregion
    }
}
